package org.jeecg.modules.golf.question.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.jeecg.modules.golf.entity.BaseEntity;
import org.jeecgframework.poi.excel.annotation.Excel;

import java.io.Serializable;

/**
 * @Description: 问题分类方案关联表
 * @Author: jeecg-boot
 * @Date:   2020-10-18
 * @Version: V1.0
 */
@ApiModel(value="question对象", description="问题")
@Data
@TableName("question_type_mapping")
public class QuestionTypeMapping extends BaseEntity implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.AUTO)
	@ApiModelProperty(value = "主键")
	private Long id;

	/**问题分类*/
	@Excel(name = "问题分类", width = 15, dictTable = "question_type", dicText = "name", dicCode = "id")
	@ApiModelProperty(value = "问题分类")
	private String questionTypeId;
	/**关联类型*/
	@Excel(name = "关联类型", width = 15)
	@ApiModelProperty(value = "关联类型")
	private java.lang.Integer mappingType;
	/**关联表id*/
	@ApiModelProperty(value = "关联表id")
	private Long mappingId;

	/**
	 * 问题分类名称
	 */
	@ApiModelProperty(value = "问题分类名称")
	private String questionTypeName;
}
